//
//  ZJEmptyView.h
//  ZJEmptyViewDemo
//
//  Created by Mr.Zhang on 2019/2/21.
//  Copyright © 2019 Mr.Zhang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum _EmptyType {
    EmptyType_NoData  = 0,
    EmptyType_NoNetWork,
} EmptyType;

NS_ASSUME_NONNULL_BEGIN

@interface ZJEmptyView : UIView

-(instancetype)initWithFrame:(CGRect)frame type:(EmptyType)type clickBlock:(void(^)(void))block;

@property (nonatomic, copy) NSString *imageName;

@end

NS_ASSUME_NONNULL_END
